package com.day16.ex01;

import java.util.HashMap;
import java.util.Map;

public class MapDemo02 {
    public static void main(String[] args) {
        Map<String,String> map=new HashMap<String,String>();
        map.put("name","张三");
        map.put("age","18");
        map.put("sex","男");
        System.out.println(map.size());
        System.out.println(map);
    }
}
